WPF/MVVM: How can I use several CollectionView`s for aggregated entities ?
Posted
by msfanboy
on Stack Overflow
See other posts from Stack Overflow
or by msfanboy
Published on 2010-05-23T08:52:53Z
Indexed on
2010/05/23
9:00 UTC
Read the original article
Hit count: 551
Hello,
I have a Customer with Orders and those have products. Everything aggregated with collections of type ObservableCollection.
All 3 collections are bound to a datagrid/combobox.
I can only make the root collection (ObservableCollection Customers{ get;set;} )
passing to a CollectionView so I can move the current customer within the combobox.
But how can I move around the current Order in the datagrid? How to pass the selected Orders to another CollectionView ?
Does all this maybe not work?
© Stack Overflow or respective owner